package com.ruoyi.subject;

import com.ruoyi.exam.domain.Category;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SubjectService {
    @Autowired
    private SubjectManager subjectManager;

    public List<Category> getSubjectCategory(){
        List<Category> list = subjectManager.getCategories();
        return list;
    }
}
